#chat .widget{
  display: none;
}
.main-section{
  width: 350px;
  position: fixed;
  right: 0;
  bottom:-475px;
  transition:1s;
}
.no-display{
  display: none;
}
textarea{
  resize: none;
}
.initiate-img{
  /*position: fixed;
  z-index: 999998;
  font-size: 14px;
  bottom: 0px;
  right: 30px;*/

  bottom: 0px;
  display: flex;
  flex-direction: column;
  margin: 0 0 0 0;
  position: fixed;
  right: 0;
  z-index: 9999;
}
.no-message{
  /*display: none;*/
  bottom:-1000px;
  /*left: 50px;*/
}
#i3root_chat-printerLink{
    margin-left: 10px;
}
.first-section:hover{
  cursor: pointer;
}
.open-more{
  bottom:0px;
  right:0;
  transition:1s;
}
.border-chat{
  border:1px solid #9e388b;
  margin: 0px;
}
.first-section{
  background-color:#9e388b;
}
.first-section p{
  color:#fff;
  margin:0px;
  padding: 10px 0px;
}
.first-section p:hover{
  color:#fff;
  cursor: pointer;
}
.right-first-section{
   text-align: right;
}
.right-first-section i{
  color:#fff;
  font-size: 15px;
  padding: 12px 3px;
}
.right-first-section i:hover{
  color:#fff;
}
.chat-section ul li{
  list-style: none;
  margin-top:10px;
  position: relative;
}
.chat-section{
  overflow-y:scroll;
  height:400px;
}
.chat-section ul{
  padding: 0px;
}
.i3root-chat_loader {
    border: 2px solid transparent;
    border-top: 2px solid #aa0000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    float: right;
    display: none;
    margin-right: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#i3rootStartChatBtn{
    border-style: solid;
    color: #ffffff;
    background: #9e388b!important;
    border-color: #ff9a00;
   border-radius: 0.2em;
    padding: 0 1em;
    display: inline-block;
    box-sizing: border-box;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 400;
    font-size: 10px;
    bottom: 0;
    position: relative;
    text-align: center;
    border: 0;
    border-style: none;
    cursor: pointer;
    letter-spacing: 0.1em;
    height: 3.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    float: right;
}
#i3rootStartChatBtn:focus{
    outline: none;
    border: none;
}
#i3root-chat_startChatForm{
    margin: 20px 10px;
    text-align: right;
}
#i3root-chat_startChatError{
    color: red;
    text-align: center;
}
.i3root-chat_btnDisabled{
    opacity: 0.4;
}
.i3root-chat_restart{
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
}
.i3root-chat_restart p{
    position: relative;
    top: 40%;
    text-align: center;
    color: #ffffff;
}
.i3root-chat_restart p a{
    color: #aa0000;
    text-decoration: underline;
    font-weight: bold;

}
.i3root-chat_isTyping {
    position: absolute;
    z-index: 999;
    top: 5px;
    width: 100%;
    text-align: center;
    transition: 1s;
}
.i3root-chat_isTyping span{
    background: rgba(0,0,0,0.5);
    padding: 5px;
    border-radius: 15px;
    color: white;
    font-size: smaller;
}
.i3root-chat_isTyping .hide{
    width: 0;
    transition: 1s;
}
.i3root-chat_connection{
    position: absolute;
    bottom: 0;
    background: red;
    width: 100%;
    color: white;
    padding: 3px;
    font-size: smaller;
    transition: 1s;
}
.i3root-chat_connection .hide{
    height: 0;
    transition: 1s;
}
.i3root-chat_system-chat {
    padding: 5px;
    text-align: center;
}
.i3root-chat_system-chat p{
    color: #fff;
    background: #333;
    padding: 5px;
    border-radius: 1px;
    margin-bottom: 2px;
    font-style: italic;
    font-size: smaller;
    text-align: left;
}
.i3root-chat_system-chat span{
    color: #B7BCC5;
    font-size: smaller;
}

.i3root-chat_left-chat img,.i3root-chat_right-chat img{
  width:50px;
  height:50px;
  float:left;
  margin:0px 10px;
}
.i3root-chat_right-chat img{
  float:right;
}
.second-section{
  padding: 0px;
  margin: 0px;
  background-color: #F3F3F3;
  height: 400px;
}
.i3root-chat_left-chat, .i3root-chat_right-chat{
  overflow: hidden;
}
.i3root-chat_right-chat{
    padding-right: 25px;
}
.i3root-chat_left-chat p, .i3root-chat_right-chat p{
  background-color:#9e388b;
  padding: 10px;
  color:#fff;
  border-radius: 0px; 
  float:left;
  max-width:70%;
  margin-bottom:10px;
}
.i3root-chat_left-chat span, .i3root-chat_right-chat span{
    position: static;
    color: #666;
    font-size: smaller;
    display: block;
    clear: both;
    padding-left: 5px;
}
.i3root-chat_right-chat span{
    text-align: right;
}
.i3root-chat_right-chat p{
  float:right;
  background-color: #9e388b;
  color:#fff;
}
.third-section{
    border-top: 1px solid #EEEEEE;
    padding-right: 0;
}
.text-bar input{
  width:90%;
  margin-left:-15px;
  padding:10px 10px;
  border:none;
  /*border:1px solid #fff;*/
}
.text-bar input:focus{
    border: none;
    outline: none;
}
.text-bar a i{
  background-color:#9e388b;
  color:#fff;
  width:30px;
  height:30px;
  padding:7px 0px;
  border-radius: 50%;
  text-align: center;
}
.i3root-chat_left-chat:before{
  content: " ";
  position:absolute;
  top:0px;
  left:55px;
  bottom:150px;
  border:15px solid transparent;
  border-top-color:#9e388b; 
}
.i3root-chat_right-chat:before{
  content: " ";
  position:absolute;
  top:0px;
  right:10px;
  bottom:150px;
  border:15px solid transparent;
  /*border-top-color:#fff; */
}