.chatbot {
      border: 1px black dotted;
      width: 30em;
    }
    
    .msgs {
      list-style-type: none;
      padding: 0;
      height: 50vh;
      overflow-y: auto;
      padding:10px 5px;
    }
    
    .msg {
      margin: 0.5em;
      margin:5px;
      padding: 10px 15px;
      border-radius: 1em;
/*      border: 1px black solid;*/
      width: fit-content;
    }
    
    .msg-bot {
      background-color: #c0e2f7;
      border-top-left-radius: 0;
    }
    
    .msg-btn {
      margin-left: auto;
      margin-right: auto;
      background-color: #b0ffa0;
      background-color: #fff;
      width: 20em;
      text-align: center;
      cursor: pointer;
      border-radius: 8px;
      transition: .4s ease;
      margin: 8px 0;
    }
    .msg-btn:hover{
    	color:#fff;
    	background-color: rgba(20, 40, 69, 0.8);
    }
    
    .msg-usr {
      margin-left: auto;
      background-color: #e6e6e6;
      border-top-right-radius: 0;
    }
    
    
    
    
    
    
    
@keyframes dot-keyframes {
  0% {
    opacity: .4;
    transform: scale(1, 1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2, 1.2);
  }

  100% {
    opacity: .4;
    transform: scale(1, 1);
  }
}

/*.writing {
  display: none;
  text-align: center;
  width: 100%;
}*/

/*.dot {
  animation: dot-keyframes 0.9s infinite ease-in-out;
  background-color: #999;
  border-radius: 10px;
  display: inline-block;
  height: 10px;
  width: 10px;
}*/
.dot{
	animation: dot-keyframes 0.9s infinite ease-in-out;
    background-color: #333;
    border-radius: 10px;
    display: inline-block;
    height: 7px;
    width: 7px;
    margin: 0 3px;
}
    
.dot:nth-child(2) {
    animation-delay: 0.3s;
  }
    
.dot:nth-child(3) {
    animation-delay: 0.6s;
  }


.msg-bot:before{
	content:'';
	width: 42px;
	height: 42px;
	border-radius: 25px;
	border:1px solid #000;
	background-image:url(img/logo-chat.jpg);
	background-size: contain;
	position: absolute;
	top: 0;
	left:-53px;
}
.msg-bot{
	margin-left:58px;
	position: relative;
}
.msg-bot + .msg-bot:before{
	content:none;
}

.msg-bot:after{
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid #c0e2f7;
    border-top: 10px solid #c0e2f7;
    border-bottom: 10px solid transparent;
    left: -10px;
    top: 0px;
}
.msg-bot + .msg-bot{
/*	border-top-left-radius: 1em;*/
}
.msg-bot + .msg-bot:after{
	content:none;
}
.msg-usr + .msg-bot:after{
  content:'';
}
.msg-usr + .msg-bot, .msg-bot + .msg-usr{
  margin-top:20px;
}

.msg-usr{
	margin-right: 15px;
	position: relative;
}
.msg-usr:after{
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-right: 10px solid transparent;
    border-left: 10px solid #e6e6e6;
    border-top: 10px solid #e6e6e6;
    border-bottom: 10px solid transparent;
    right: -10px;
    top: 0px;
}
.msg-usr + .msg-usr:after{
  content:none;
}
.msg-usr + .msg-usr{
	border-top-left-radius: 1em;
}
