.img-chat {
  position: fixed;
  bottom: 10%;
  right: 5px;   
  z-index: 100;
}
.img-chat img {
  cursor: pointer;
  width: 80px;
  height: 80px; 
}
.chatbubble {   
    position: fixed;
    bottom: 0%;
    transform: translateX(576px);
    transition: transform .3s ease-in-out;   
    z-index: 100;
  }
@media screen and (min-width: 768px) {
  .chatbubble {
    right: 0px;
  }
  .chatbubble .unexpanded {
    width: 350px;
  }
  .chatbubble .expanded {
    width: 350px;
  }
}

.chatbubble .unexpanded {
    display: block;
    background-color: #3349bf;
    padding: 10px 15px 10px;
    position: relative;
    cursor: pointer;
    width: 350px;
    border-radius: 10px 10px 0 0;
}
.chatbubble .expanded {
    height: 400px;
    width: 350px;
    background:linear-gradient(to left, #afb2c8, #e6e9ec);
    text-align: left;
    padding: 10px;
    color: #333;
    text-shadow: none;
    font-size: 14px;
}

@media screen and (max-width: 576px) {
  .chatbubble {    
    right: 0;
    width: 100%;
    bottom: 0;
  }
  .chatbubble .unexpanded {
    width: 100%;
  }
  .chatbubble .expanded {
    width: 100%;
  }

}

.chatbubble.opened {
  transform: translateX(0);
}

.chatbubble .chat-window {
  overflow: auto;
}
.chatbubble .loader-wrapper {
    margin-top: 50px;
    text-align: center;
}
.chatbubble .messages {
    display: none;
    list-style: none;
    margin: 0 0 50px;
    padding: 0;
}
.chatbubble .messages li {
    width: 100%;
    float: left;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    font-size: 14px;
    background: #c9f1e6;
    margin-bottom: 10px;
}
.chatbubble .messages li .sender {
    font-weight: 600;
}
.chatbubble .messages li.support {
    float: right;
    text-align: right;
    color: #fff;
    background-color: #3dbae3;
    border-radius: 10px 10px 0 10px;
}
.chatbubble .chats .input {
    position: absolute;
    bottom: 0;
    padding: 10px;
    left: 0;
    width: 100%;
    background: #babcc3;
    display: none;
}
.chatbubble .chats {
  display: none;
}

.chatbubble .chats.active,
.chatbubble .login-screen.active {
  display: block;
}

@-webkit-keyframes pulse {
  to {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.5;
  }
}
@keyframes pulse {
  to {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.5;
  }
}
